import request from '@/utils/request'

/*
 * 获取商品列表
 * */
export function getGoodsList(data) {
  return request({
    url: '/api/Goods/getLists',
    method: 'post',
    data:data,
    power: false
  })
}
 /*
  * 获取商品列详情
  * */
 export function getDetails(data) {
   return request({
     url: '/api/Goods/getDetails',
     method: 'get',
    data:data,
     power: false
   })
 }
 
/*
* 预约商品
* */
export function bookGoods(data) {
	return request({
	  url: '/api/Goods/bookGoods',
	  method: 'post',
	  data,
	  power: false
	})
}
/*
 * 商品分类
 * */
export function getCategory() {
  return request({
    url: '/category',
    method: 'get',
    power: false
  })
}
